package com.bookstore.service;

import com.bookstore.bean.User;
import com.bookstore.MapperDao.UserMap;

/**
 * Created by Admin on 9/16 0016.
 */
public class UserServiceImp implements UserService {
    UserMap userMap;

    public User login(String username, String password) {
        User user = userMap.getUserNaPa(username, password);
        return user;
    }

    public UserMap getUserMap() {
        return userMap;
    }

    public void setUserMap(UserMap userMap) {
        this.userMap = userMap;
    }
}
